package com.example.leetcode.graph;

import com.example.leetcode.graph.common.GraphUtils;

import java.util.Arrays;

class Solution542 {
    public int[][] updateMatrix(int[][] mat) {
        return GraphUtils.updateMatrix(mat);
    }
}

public class leetcode542 {
    public static void main(String[] args) {
        Solution542 solution542 = new Solution542();
        int[][] mat = {{0, 0, 0}, {0, 1, 0}, {0, 0, 0}};
        System.out.println(Arrays.deepToString(solution542.updateMatrix(mat)));
    }
}
